﻿using SelfMadeMillionaire.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SelfMadeMillionaire.Core.Repositories
{
	public interface IEmailMessageRepository : IRepository<EmailMessage>
	{
		void AddSubscriber(Subscriber subscriber);
		Subscriber GetSubscriber(string email);
		Subscriber GetSubscriber(int id);
		IEnumerable<Subscriber> GetSubscribers();		
	}
}
